﻿using AexoManager.Datos;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace AexoManager.Models
{
    public class DespieceViewModel
    {
        public int IdProducto { get; set; }

        public int IdParte { get; set; }

        [Required]
        [StringLength(8)]
        public string Codigo { get; set; }

        [Required]
        [StringLength(128)]
        public string Descripcion { get; set; }

        public Int32 Cantidad { get; set; }

        public int IdPartePadre { get; set; }

        public IEnumerable<Parte> PartesFinales { get; set; }

    }
}